package com.test.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 跳转到登录页面
 */
@Controller
public class IndexController {
    @GetMapping("index")
    public String toLogin() {
        return "login";
    }
}
